{template header}
<div class="bs-docs-example" style="clear:both;">
    <table class="table table-striped">
        <thead>
        <tr>
            <th>ID</th>
            <th>昵称</th>
            <th>账户来源</th>
            <th>设备类型</th>
            <th>设备ID</th>
            <th>禁言功能</th>
            <th>禁言起始时间</th>
            <th>总里程</th>
            <th>备注</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        {loop $list $k $v}
        <tr>
            <td>{$v['id']}</td>
            <td><a href="?c=admin&a=userinfo&uid={$v['uid']}">{$v['nickname']}</a></td>
            <td>{$v['source']}</td>
            <td>{$v['type']}</td>
            <td>{$v['clientId']}</td>
            <td style="color: red">{$v['forbid']}</td>
            <td {if $v['etime']-time() <= 10} style='color:red' {/if}>{eval echo date("Y-m-d H:i:s",$v['stime'])}<br>{eval echo date("Y-m-d H:i:s",$v['etime'])}</td>
            <td>{$v['totalMileage']}</td>
            <td>{if empty($v['mark'])}--{else}{$v['mark']}{/if}</td>
            <td><a class="btn btn-primary" href="?c=admin&a=blackUser&id={$v['uid']}">黑名单设置</a></td>
        </tr>
        {/loop}
        </tbody>
    </table>
</div>

<div class="pagination">
    <ul>
        {$pageStr}
    </ul>
</div>

{template footer}
